﻿Public Class AcquyDTO
    Private _MaAcQuy As Integer
    Private _TenAcQuy As String
    Private _MaLoai As Integer
    Private _HangSanXuat As String
    Private _DienAp As Single
    Private _DongDien As Single
    Private _Gia As Integer
    Private _TimKiem As AcquyDTO
    Private _DongDienMin As Single
    Private _DongDienMax As Single
    Private _DienApMin As Single
    Private _DienApMax As Single
    Private _GiaMin As Single
    Private _GiaMax As Single

    Public Property MaAcQuy() As Integer
        Get
            Return _MaAcQuy
        End Get
        Set(ByVal value As Integer)
            _MaAcQuy = value
        End Set
    End Property

    Public Property TenAcQuy() As String
        Get
            Return _TenAcQuy
        End Get
        Set(ByVal value As String)
            _TenAcQuy = value
        End Set
    End Property

    Public Property MaLoai() As Integer
        Get
            Return _MaLoai
        End Get
        Set(ByVal value As Integer)
            _MaLoai = value
        End Set
    End Property

    Public Property HangSanXuat() As String
        Get
            Return _HangSanXuat
        End Get
        Set(ByVal value As String)
            _HangSanXuat = value
        End Set
    End Property

    Public Property DienAp() As Single
        Get
            Return _DienAp
        End Get
        Set(ByVal value As Single)
            _DienAp = value
        End Set
    End Property

    Public Property DongDien() As Single
        Get
            Return _DongDien
        End Get
        Set(ByVal value As Single)
            _DongDien = value
        End Set
    End Property

    Public Property Gia() As Integer
        Get
            Return _Gia
        End Get
        Set(ByVal value As Integer)
            _Gia = value
        End Set
    End Property

    Public Property DongDienMin As Single
        Get
            Return _DongDienMin
        End Get
        Set(ByVal value As Single)
            _DongDienMin = value
        End Set
    End Property

    Public Property DongDienMax As Single
        Get
            Return _DongDienMax
        End Get
        Set(ByVal value As Single)
            _DongDienMax = value
        End Set
    End Property

    Public Property DienApMin As Single
        Get
            Return _DienApMin
        End Get
        Set(ByVal value As Single)
            _DienApMin = value
        End Set
    End Property

    Public Property DienApMax As Single
        Get
            Return _DienApMax
        End Get
        Set(ByVal value As Single)
            _DienApMax = value
        End Set
    End Property

    Public Property GiaMax As Single
        Get
            Return _GiaMax
        End Get
        Set(ByVal value As Single)
            _GiaMax = value
        End Set
    End Property

    Public Property GiaMin As Single
        Get
            Return _GiaMin
        End Get
        Set(ByVal value As Single)
            _GiaMin = value
        End Set
    End Property

    Public Sub New(ByVal MAcQuy As Integer, ByVal TAcQuy As String, ByVal MLoai As Integer, ByVal HSX As String, ByVal DDien As Single, ByVal DAp As Single, ByVal Gia As Integer)
        Me._MaAcQuy = MAcQuy
        Me._TenAcQuy = TAcQuy
        Me._MaLoai = MLoai
        Me._HangSanXuat = HSX
        Me._DongDien = DDien
        Me._DienAp = DAp
        Me._Gia = Gia
    End Sub

    Public Sub New(ByVal MAcQuy As Integer, ByVal TAcQuy As String, ByVal MLoai As Integer, ByVal HSX As String, ByVal DDienMin As Single, ByVal DDienMax As Single, ByVal DApMin As Single, ByVal DApMax As Single, ByVal GiaMin As Integer, ByVal GiaMax As Integer)
        Me._MaAcQuy = MAcQuy
        Me._TenAcQuy = TAcQuy
        Me._MaLoai = MLoai
        Me._HangSanXuat = HSX
        Me._DongDienMin = DDienMin
        Me._DongDienMax = DDienMax
        Me.DienApMin = DApMin
        Me.DienApMax = DApMax
        Me._GiaMin = GiaMin
        Me._GiaMax = GiaMax
    End Sub

End Class
